<?php
class ControllerModuleMebuuRightInfoHome extends Controller {
	protected function index() {
		$this->language->load('module/about');
		
      	$this->data['heading_title'] = $this->language->get('heading_title');
		
		$this->load->model('catalog/information');
		
		$information_info = $this->model_catalog_information->getInformation(63);
		$this->data['image'] = $information_info['image'];	
		$this->data['title'] = $information_info['title'];	
		//$text = preg_replace('|(?<!</p>)\s*\n|', "", $information_info['description']);
		$text = $information_info['description'];
		$this->data['description'] =strip_tags( html_entity_decode($text, ENT_QUOTES, 'UTF-8'),"<span><strong><br><b>");
		
		if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/module/mebuu_right_info_home.tpl')) {
			$this->template = $this->config->get('config_template') . '/template/module/mebuu_right_info_home.tpl';
		} else {
			$this->template = 'default/template/module/mebuu_right_info_home.tpl';
		}

		$this->render();
	}
}
?>